package com.wanyang.mapper;

import com.wanyang.dos.PostCommentDO;
import com.wanyang.dos.PostCommentDOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostCommentDOMapper {
    long countByExample(PostCommentDOExample example);

    int deleteByExample(PostCommentDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PostCommentDO record);

    int insertSelective(PostCommentDO record);

    PostCommentDO selectOneByExample(PostCommentDOExample example);

    List<PostCommentDO> selectByExample(PostCommentDOExample example);

    PostCommentDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PostCommentDO record, @Param("example") PostCommentDOExample example);

    int updateByExample(@Param("record") PostCommentDO record, @Param("example") PostCommentDOExample example);

    int updateByPrimaryKeySelective(PostCommentDO record);

    int updateByPrimaryKey(PostCommentDO record);
}